package com.bwie.service;

import com.bwie.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * description:
 *
 * @Author caoshuaifeng
 * @Create 2025/4/17 10:11
 * @Version 1.0
 */
@Service
@FeignClient(name="server-day0417-user")
public interface IUserService {
    @PostMapping("/user/index/getUserById/{userId}")
    public R getUserById(@PathVariable("userId") Integer userId);

}
